Bug 667018-gtk/gtkwindow.c: Include deprecated/gtkstyle.h
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 30 Dec 2011 08:51:26 +0000 (16:51 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 30 Dec 2011 09:25:48 +0000 (17:25 +0800)
This is needed for the prototype of gtk_widget_reset_rc_styles, to avoid
C4013/implicit declaration of ... warnings of that function

gtk/gtkwindow.c

index ac7536c9761823096af52d3837bb66a35c3d70bf..f61e4a2ea12e1304b5ada9e006cdfff4fc8bea47 100644 (file)
@@ -52,6 +52,8 @@
 #include "gtktypebuiltins.h"
 #include "a11y/gtkwindowaccessible.h"
 
+#include "deprecated/gtkstyle.h"
+
 #ifdef GDK_WINDOWING_X11
 #include "x11/gdkx.h"
 #endif